package com.zhang.admin.bean;

import java.util.HashSet;
import java.util.Set;

/**
 * @title:
 * @author: zhangyf
 * @date: 2023/3/15 13:34
 **/
public class UserLoginInfo {
    private String username; // 用户名
    private Set<String> routes = new HashSet<>(); // 用户可以访问的路由组成的集合

    public UserLoginInfo() {
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Set<String> getRoutes() {
        return routes;
    }

    public void setRoutes(Set<String> routes) {
        this.routes = routes;
    }

    @Override
    public String toString() {
        return "UserLoginInfo{" +
                "username='" + username + '\'' +
                ", routes=" + routes +
                '}';
    }
}
